Skip to content

Render the translation status charts as inline SVG#66

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:svg-status-charts
Open

Render the translation status charts as inline SVG#66
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:svg-status-charts

Conversation

@lacatoire
Copy link
Copy Markdown
Member

@lacatoire lacatoire commented May 7, 2026

JpGraph isn't bundled in the repo, so img-status-all.php and img-status-lang.php need a manual install to render locally.

This switches both files to inline SVG: same URL contracts, same dimensions, same colors as the current production output. Crisp at any zoom, native <title> tooltips per slice/bar, no external deps. The data-prep block is kept as-is, only the rendering block changes.

Bar chart (/revcheck.php)

Before After
old tab new tab

Pie chart (/revcheck.php?lang=…)

Before After
old graph graph new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants